package lab02.test04;

public class Staff {
    String name;
    String phone;
    float salary;
    double addSalary;
    public Staff(){

    }
    public void setName(){
        this.name=name;
    }

    public String getName() {
        return name;
    }
    public void setPhone(){
        this.phone=phone;
    }
    public String getPhone(){
        return phone;
    }
    public void setSalary(){
        this.salary=salary;
    }
    public void setAddSalary(){

        this.addSalary=salary*0.3;
    }

    public double getAddSalary() {
        return addSalary;
    }
    public void point(){
        System.out.println(name);
        System.out.println(phone);
        System.out.println(salary);
        System.out.println(addSalary);
        System.out.println(salary+addSalary);
    }
}
